import request from '@/router/axios'

export function fetchList(query) {
  return request({
    url: '/admin/mall/pointsCoupon/page',
    method: 'get',
    params: query
  })
}

export function getObj(query) {
  return request({
    url: '/admin/mall/pointsCoupon/getInfo',
    method: 'get',
    params: query
  })
}
